//
//  SNKVideoCollectCell.m
//  SleepNews
//
//  Created by Kavee DJ on 2016/12/29.
//  Copyright © 2016年 Kavee DJ. All rights reserved.
//

#import "SNKVideoCollectCell.h"
#import "SNKVideoCollectModel.h"
#import <UIImageView+WebCache.h>

@interface SNKVideoCollectCell ()
@property (weak, nonatomic) IBOutlet UIImageView *coverImageV;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *timeL;
@end

@implementation SNKVideoCollectCell

- (void)setVideoCollectModel:(SNKVideoCollectModel *)videoCollectModel {
    _videoCollectModel = videoCollectModel;
    
    [self.coverImageV sd_setImageWithURL:[NSURL URLWithString:videoCollectModel.image_url]  placeholderImage:[UIImage imageNamed:@"placeholder"]];
    self.titleLabel.text = videoCollectModel.title;
    self.timeL.text = videoCollectModel.time;
}


@end
